package com.example.yunyuapp;

import java.io.Serializable;
import java.util.List;

public class PM2_5 {
    /**
     * showapi_res_error :
     * showapi_res_id : 62ba5b420de3760061e137b4
     * showapi_res_code : 0
     * showapi_fee_num : 1
     * showapi_res_body : {"ret_code":0,"pm":{"so2":"5","o3":"21","area_code":"foshan","pm2_5":"5","ct":"2022-06-28 09:10:01.279","primary_pollutant":"","co":"0.5","num":"2","area":"佛山","no2":"14","aqi":"9","quality":"优质","pm10":"9","o3_8h":"17"},"siteList":[{"co":"0.6","so2":"4","o3":"113","no2":"9","quality":"优质","aqi":"36","pm10":"31","pm2_5":"<3","site_name":"南海气象局","o3_8h":"113","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.3","so2":"5","o3":"107","no2":"5","quality":"优质","aqi":"34","pm10":"14","pm2_5":"8","site_name":"湾梁","o3_8h":"107","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.4","so2":"4","o3":"94","no2":"7","quality":"优质","aqi":"30","pm10":"7","pm2_5":"<3","site_name":"三水监测站","o3_8h":"94","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"68","no2":"3","quality":"优质","aqi":"22","pm10":"-","pm2_5":"6","site_name":"高明孔堂","o3_8h":"68","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"114","no2":"6","quality":"优质","aqi":"36","pm10":"22","pm2_5":"6","site_name":"华材职中","o3_8h":"114","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"85","no2":"20","quality":"优质","aqi":"27","pm10":"<6","pm2_5":"<3","site_name":"顺德苏岗","o3_8h":"85","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"4","o3":"83","no2":"8","quality":"优质","aqi":"26","pm10":"19","pm2_5":"<3","site_name":"容桂街道办","o3_8h":"83","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.4","so2":"4","o3":"87","no2":"8","quality":"-","aqi":"-","pm10":"-","pm2_5":"6","site_name":"三水云东海","o3_8h":"87","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"}]}
     */

    private String showapi_res_error;
    private String showapi_res_id;
    private int showapi_res_code;
    private int showapi_fee_num;
    private ShowapiResBodyBean showapi_res_body;

    public String getShowapi_res_error() {
        return showapi_res_error;
    }

    public void setShowapi_res_error(String showapi_res_error) {
        this.showapi_res_error = showapi_res_error;
    }

    public String getShowapi_res_id() {
        return showapi_res_id;
    }

    public void setShowapi_res_id(String showapi_res_id) {
        this.showapi_res_id = showapi_res_id;
    }

    public int getShowapi_res_code() {
        return showapi_res_code;
    }

    public void setShowapi_res_code(int showapi_res_code) {
        this.showapi_res_code = showapi_res_code;
    }

    public int getShowapi_fee_num() {
        return showapi_fee_num;
    }

    public void setShowapi_fee_num(int showapi_fee_num) {
        this.showapi_fee_num = showapi_fee_num;
    }

    public ShowapiResBodyBean getShowapi_res_body() {
        return showapi_res_body;
    }

    public void setShowapi_res_body(ShowapiResBodyBean showapi_res_body) {
        this.showapi_res_body = showapi_res_body;
    }

    public static class ShowapiResBodyBean implements Serializable {
        /**
         * ret_code : 0
         * pm : {"so2":"5","o3":"21","area_code":"foshan","pm2_5":"5","ct":"2022-06-28 09:10:01.279","primary_pollutant":"","co":"0.5","num":"2","area":"佛山","no2":"14","aqi":"9","quality":"优质","pm10":"9","o3_8h":"17"}
         * siteList : [{"co":"0.6","so2":"4","o3":"113","no2":"9","quality":"优质","aqi":"36","pm10":"31","pm2_5":"<3","site_name":"南海气象局","o3_8h":"113","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.3","so2":"5","o3":"107","no2":"5","quality":"优质","aqi":"34","pm10":"14","pm2_5":"8","site_name":"湾梁","o3_8h":"107","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.4","so2":"4","o3":"94","no2":"7","quality":"优质","aqi":"30","pm10":"7","pm2_5":"<3","site_name":"三水监测站","o3_8h":"94","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"68","no2":"3","quality":"优质","aqi":"22","pm10":"-","pm2_5":"6","site_name":"高明孔堂","o3_8h":"68","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"114","no2":"6","quality":"优质","aqi":"36","pm10":"22","pm2_5":"6","site_name":"华材职中","o3_8h":"114","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"5","o3":"85","no2":"20","quality":"优质","aqi":"27","pm10":"<6","pm2_5":"<3","site_name":"顺德苏岗","o3_8h":"85","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.5","so2":"4","o3":"83","no2":"8","quality":"优质","aqi":"26","pm10":"19","pm2_5":"<3","site_name":"容桂街道办","o3_8h":"83","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"},{"co":"0.4","so2":"4","o3":"87","no2":"8","quality":"-","aqi":"-","pm10":"-","pm2_5":"6","site_name":"三水云东海","o3_8h":"87","primary_pollutant":"-","ct":"2022-06-23 19:09:38.726"}]
         */

        private int ret_code;
        private PmBean pm;
        private List<SiteListBean> siteList;

        public int getRet_code() {
            return ret_code;
        }

        public void setRet_code(int ret_code) {
            this.ret_code = ret_code;
        }

        public PmBean getPm() {
            return pm;
        }

        public void setPm(PmBean pm) {
            this.pm = pm;
        }

        public List<SiteListBean> getSiteList() {
            return siteList;
        }

        public void setSiteList(List<SiteListBean> siteList) {
            this.siteList = siteList;
        }

        public static class PmBean implements Serializable {
            /**
             * so2 : 5
             * o3 : 21
             * area_code : foshan
             * pm2_5 : 5
             * ct : 2022-06-28 09:10:01.279
             * primary_pollutant :
             * co : 0.5
             * num : 2
             * area : 佛山
             * no2 : 14
             * aqi : 9
             * quality : 优质
             * pm10 : 9
             * o3_8h : 17
             */

            private String so2;
            private String o3;
            private String area_code;
            private String pm2_5;
            private String ct;
            private String primary_pollutant;
            private String co;
            private String num;
            private String area;
            private String no2;
            private String aqi;
            private String quality;
            private String pm10;
            private String o3_8h;

            public String getSo2() {
                return so2;
            }

            public void setSo2(String so2) {
                this.so2 = so2;
            }

            public String getO3() {
                return o3;
            }

            public void setO3(String o3) {
                this.o3 = o3;
            }

            public String getArea_code() {
                return area_code;
            }

            public void setArea_code(String area_code) {
                this.area_code = area_code;
            }

            public String getPm2_5() {
                return pm2_5;
            }

            public void setPm2_5(String pm2_5) {
                this.pm2_5 = pm2_5;
            }

            public String getCt() {
                return ct;
            }

            public void setCt(String ct) {
                this.ct = ct;
            }

            public String getPrimary_pollutant() {
                return primary_pollutant;
            }

            public void setPrimary_pollutant(String primary_pollutant) {
                this.primary_pollutant = primary_pollutant;
            }

            public String getCo() {
                return co;
            }

            public void setCo(String co) {
                this.co = co;
            }

            public String getNum() {
                return num;
            }

            public void setNum(String num) {
                this.num = num;
            }

            public String getArea() {
                return area;
            }

            public void setArea(String area) {
                this.area = area;
            }

            public String getNo2() {
                return no2;
            }

            public void setNo2(String no2) {
                this.no2 = no2;
            }

            public String getAqi() {
                return aqi;
            }

            public void setAqi(String aqi) {
                this.aqi = aqi;
            }

            public String getQuality() {
                return quality;
            }

            public void setQuality(String quality) {
                this.quality = quality;
            }

            public String getPm10() {
                return pm10;
            }

            public void setPm10(String pm10) {
                this.pm10 = pm10;
            }

            public String getO3_8h() {
                return o3_8h;
            }

            public void setO3_8h(String o3_8h) {
                this.o3_8h = o3_8h;
            }
        }

        public static class SiteListBean implements Serializable {
            /**
             * co : 0.6
             * so2 : 4
             * o3 : 113
             * no2 : 9
             * quality : 优质
             * aqi : 36
             * pm10 : 31
             * pm2_5 : <3
             * site_name : 南海气象局
             * o3_8h : 113
             * primary_pollutant : -
             * ct : 2022-06-23 19:09:38.726
             */

            private String co;
            private String so2;
            private String o3;
            private String no2;
            private String quality;
            private String aqi;
            private String pm10;
            private String pm2_5;
            private String site_name;
            private String o3_8h;
            private String primary_pollutant;
            private String ct;

            public String getCo() {
                return co;
            }

            public void setCo(String co) {
                this.co = co;
            }

            public String getSo2() {
                return so2;
            }

            public void setSo2(String so2) {
                this.so2 = so2;
            }

            public String getO3() {
                return o3;
            }

            public void setO3(String o3) {
                this.o3 = o3;
            }

            public String getNo2() {
                return no2;
            }

            public void setNo2(String no2) {
                this.no2 = no2;
            }

            public String getQuality() {
                return quality;
            }

            public void setQuality(String quality) {
                this.quality = quality;
            }

            public String getAqi() {
                return aqi;
            }

            public void setAqi(String aqi) {
                this.aqi = aqi;
            }

            public String getPm10() {
                return pm10;
            }

            public void setPm10(String pm10) {
                this.pm10 = pm10;
            }

            public String getPm2_5() {
                return pm2_5;
            }

            public void setPm2_5(String pm2_5) {
                this.pm2_5 = pm2_5;
            }

            public String getSite_name() {
                return site_name;
            }

            public void setSite_name(String site_name) {
                this.site_name = site_name;
            }

            public String getO3_8h() {
                return o3_8h;
            }

            public void setO3_8h(String o3_8h) {
                this.o3_8h = o3_8h;
            }

            public String getPrimary_pollutant() {
                return primary_pollutant;
            }

            public void setPrimary_pollutant(String primary_pollutant) {
                this.primary_pollutant = primary_pollutant;
            }

            public String getCt() {
                return ct;
            }

            public void setCt(String ct) {
                this.ct = ct;
            }
        }
    }
}
